/**
 * Global styles
 */

body {
  margin: 0;
}

a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

input[type="submit"] {
  padding: 0.25em;
  border-width: 0.125em;
  border-style: solid;
}

/**
 * The default layout
 */

#wrapper {
  width: 72em;
  max-width: 100%;
  margin: 0 auto;
}

#header {
  height: 6.25em;
  border-style: solid;
  border-width: 0 0 0.125em 0;
  background: transparent url(/images/astra.logo.png) 0.625em 50% no-repeat; /* need to seperate this between color and layout */
}

#tool_bar {
  list-style-type: none;
  float: right;
}

#tool_bar li {
  margin: 0 0.25em;
  float: left;
}

#tool_bar a:link,
#tool_bar a:visited {
  text-decoration: none;
}

#tool_bar a:hover {
  text-decoration: underline;
}

#bread_crumb {
  border-bottom-width: 0.125em;
  border-bottom-style: solid;
}

#bread_crumb ul {
  margin: 0.5em;
  padding: 0;
}

#bread_crumb ul li {
  display: inline;
  padding: 0;
}

#main_nav {
  float: left;
  width: 14em;
  max-width: 23%;
  padding-left: 0.5em;
  margin: 0;
}

.side_block {
  margin-top: 0.625em;
  margin-bottom: 0.625em;
}

.side_block .header h2 {
  margin: 0;
}

.side_block ul {
  list-style-type: square;
  margin-left: 0;
  padding-left: 2em;
}

.side_block ul li {
  margin: 0.4em 0;
}

#content {
  float: right;
  width: 58em;
  max-width: 75%;
  margin: 0;
  padding: 0;
}

#main_content {
  float: left;
  width: 44em;
  max-width: 66%;
  margin: 0;
  padding-left: 0.5em;
}

#main_content h1 {
  margin-top: 0.625em;
}

#secondary_content {
  width: 14em;
  max-width: 31%;
  float: right;
  padding-left: 0.5em;
}

#footer {
  clear: both;
}

/**
 * The login subsystem
 */

#login_box_container {
  padding: 0.125em;
  border-style: solid;
  border-width: 0.125em;
  margin-right: auto;
  margin-left: auto;
  width: 20em;
}

#login_box {
  width: 17.5em;
  margin: 0;
  padding: 1.25em;
}

#login_box .header {
  text-align: center;
  margin-bottom: 2em;
}

#login_box p.username,
#login_box p.password {
  margin-bottom: 0;
}

#login_box p.input {
  margin-top: 0.125em;
}

#login_box input.text {
  width: 100%;
  height: 1em;
}

#login_box .submit.button {
  margin: 2em 0 0 0;
  text-align: right;
}
